<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="js/axios.js"></script>
</head>
<body>
    <p id="info"></p>
    <script>
        axios.get('http://localhost/hello').then(rs=>{
            document.getElementById("info").innerHTML=rs.data;
        })
    </script>
</body>
</html>